<template>
  <HeadViewVue/>
  <router-view/>
  <FootView/>
  <!-- <div class="home">
    <button @click="getUserInfo">获取用户信息</button>
  </div> -->
</template>

<script lang="ts">
import {defineComponent} from 'vue'
import HeadViewVue from './views/comment/HeadView.vue';
import FootView from './views/comment/FootView.vue';

export default defineComponent({
  name: 'home-view',
  components:{
    HeadViewVue,
    FootView,
  },
  methods: {
    getUserInfo() {
      console.log("登录成功"); 
    },
  }
})
</script>

<style>
#app {
  font-family: Avenir, Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-align: center;
  color: #2c3e50;
}
</style>
